"""django_user URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path,include

from app02_login import views
app_name = 'app02'
urlpatterns = [
    path('admin/', admin.site.urls),
    # 登录
    path('login_page/', views.f_login_page, name='login_page'),
    path('login/', views.f_login, name='login'),
    path('login_name_password/', views.f_login_name_password, name='login_name_password'),
    # 验证码
    path('identifycode/', views.f_identifycode, name='identifycode'),

    # 注销
    path('logout/', views.f_logout, name='logout'),


    # 首页
    path('index_page/', views.f_index_page, name='index_page'),
    path('index_top_page/', views.f_index_top_page, name='index_top_page'),
    path('index_left_page/', views.f_index_left_page, name='index_lef_page'),
    path('index_right_page/', views.f_index_right_pagee, name='index_right_page'),
]
